package org.example.ioc.service.impl;

import org.example.ioc.dao.UserDao;
import org.example.ioc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: UserService
 * Package: org.example.ioc.service.impl
 * Description:
 *
 * @Author wanghao
 * @Create 2024-07-05 8:46
 * @Version 1.0
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public List<String> getUserList() {
        return userDao.getUserList();
    }
}
